import {defineStore} from 'pinia'
import {ref} from 'vue'
import {type PageRequest} from '@/types/PageRequest'
import type { PayBackAO, SelectPayOrderAO, SelectPayBackOrderAO } from './PayOrderTypes'

export const usePayBackOrderStore =  defineStore('PayBackOrderStore', ()=>{
    
    // 退款单
    let payBackOrderDialog = ref<boolean>(false)
    let selectPayBackOrderAO = ref<SelectPayBackOrderAO>({})

    return {
        payBackOrderDialog, selectPayBackOrderAO
    }
},{
    persist: true,
})

